Monitoring method and apparatus

ABSTRACT

The present application discloses a monitoring method and apparatus. A specific implementation of the method comprises: reading information about monitoring data acquisition methods of monitored objects, the monitoring data acquisition method comprising an active acquisition method and a passive acquisition method; executing following steps for each of the monitored objects having the active acquisition method as the monitoring data acquisition method: generating a monitoring data acquisition task of the monitored object; determining a monitoring data acquisition frequency of the monitored object; and adding the monitoring data acquisition task to to-be-executed monitoring data acquisition task sets in a defined period corresponding to the monitoring data acquisition frequency; executing, in successive defined periods, monitoring data acquisition tasks in the corresponding to-be-executed monitoring data acquisition task sets; and parsing acquired monitoring data of the monitored objects to generate a monitoring result. The implementation solves the problem of high system resource occupation and waste of system resources during the monitoring process.

CROSS REFERENCE TO RELATED APPLICATION

This application claims the priority of Chinese Patent Application No.201610804075.4, entitled “Monitoring Method and Apparatus,” filed onSep. 6, 2016, the content of which is incorporated herein by referencein its entirety.

TECHNICAL FIELD

The present application relates to the field of computer technology, inparticular, to the field of data monitoring technology, and moreparticularly, to a monitoring method and apparatus.

BACKGROUND

As monitoring technologies develop rapidly and become more popular,monitoring on various types of systems has become a common systemsecurity inspection measure. In a system consisting of multiple modules,to guarantee safe and stable operation of the system, multiple objectsin the system need to be monitored, such that an operator finds promptlyabnormality in the system.

Existing monitoring approaches generally acquire monitoring data of themonitored objects according to a fixed frequency or acquiring monitoringdata by using multiple timers according to monitoring data acquisitionfrequencies of the monitored objects, thereby generating a monitoringresult. However, in a monitoring situation, such as an autopilot or adriverless situation, where a data link consists of multiple complexmodules, there are a large number of monitored objects of complex types.Therefore, the existing monitoring technology has problems of highsystem resource occupation and waste of system resources during themonitoring process.

SUMMARY

An objective of the present application is to provide an improvedmonitoring method and apparatus, to solve the technical problemmentioned in the foregoing Background section.

In a first aspect, the present application provides a monitoring method,the method comprising: reading information about monitoring dataacquisition methods of monitored objects, the monitoring dataacquisition method comprising an active acquisition method and a passiveacquisition method; executing following steps for each of the monitoredobjects is having the active acquisition method as the monitoring dataacquisition method: generating a monitoring data acquisition task of themonitored object; determining a monitoring data acquisition frequency ofthe monitored object; and adding the monitoring data acquisition task toto-be-executed monitoring data acquisition task sets in a defined periodcorresponding to the monitoring data acquisition frequency; executing,in successive defined periods, monitoring data acquisition tasks in thecorresponding to-be-executed monitoring data acquisition task sets; andparsing acquired monitoring data of the monitored objects to generate amonitoring result.

In some embodiments, the method further comprises: for each of themonitored objects having the passive acquisition method as themonitoring data acquisition method, detecting a monitoring datatransmission request of the monitored object; and acquiring monitoringdata of the monitored object in response to positively detecting themonitoring data transmission request of the monitored object.

In some embodiments, the parsing acquired monitoring data of themonitored objects to generate a monitoring result comprises: parsingacquired monitoring data of each of the monitored objects, to generate amonitoring sub-result of the monitored object; grouping the monitoredobjects according to a preset grouping method; analyzing monitoringsub-results of each group of monitored objects, to generate a groupmonitoring result of the group; and analyzing group monitoring resultsto generate the monitoring result.

In some embodiments, the parsing acquired monitoring data of themonitored objects to generate a monitoring result further comprises: fora preset monitored object in the monitored objects, in response to amonitoring sub-result of the preset monitored object indicating thatmonitoring data of the preset monitored object is abnormal, storing theabnormal monitoring data into a log file of the preset monitored object.

In some embodiments, the method further comprises: outputting themonitoring result at a preset output time interval.

In a second aspect, the present application provides a monitoringapparatus, the apparatus comprising: a reading unit, configured to readinformation about monitoring data acquisition methods of monitoredobjects, the monitoring data acquisition method comprising an activeacquisition method and a passive acquisition method; a task processingunit, configured to execute following steps for each of the monitoredobjects having the active acquisition method as the monitoring dataacquisition method: generating a monitoring data acquisition task of themonitored object; determining a monitoring data acquisition frequency ofthe monitored object; and adding the monitoring data acquisition task toto-be-monitored monitoring data acquisition task sets in a definedperiod corresponding to the monitoring data acquisition frequency; anexecution unit, configured to execute, in successive defined periods,monitoring data acquisition tasks in the corresponding to-be-executedmonitoring data acquisition task sets; and a parsing unit, configured toparse acquired monitoring data of the monitored objects to generate amonitoring result.

In some embodiments, the apparatus further comprises: a detecting unit,configured to: for each of the monitored objects having the passiveacquisition method as the monitoring data acquisition method, detect amonitoring data transmission request of the monitored object; andacquire monitoring data of the monitored object in response topositively detecting the monitoring data transmission request of themonitored object.

In some embodiments, the parsing unit comprises: a parsing module,configured to parse acquired monitoring data of each of the monitoredobjects, to generate a monitoring sub-result; a first analyzing module,configured to group the monitored objects according to a preset groupingmethod, and analyze monitoring sub-results of each group of monitoredobjects, to generate a group monitoring result of the group; and asecond analyzing module, configured to analyze group monitoring resultsto generate the monitoring result.

In some embodiments, the parsing module is further configured to: for apreset monitored object in the monitored objects, in response to amonitoring sub-result of the preset monitored object indicating thatmonitoring data of the preset monitored object is abnormal, store theabnormal monitoring data into a log file of the preset monitored object.

In some embodiments, the apparatus further comprises: an outputtingunit, configured to output the monitoring result at a preset output timeinterval.

In the monitoring method and apparatus provided by the presentapplication, for each of the monitored objects having the activeacquisition method as the monitoring data acquisition method, amonitoring data acquisition task of the monitored object is generatedand a monitoring data acquisition frequency of the monitored object isdetermined, such that the monitoring data acquisition task is added toto-be-executed monitoring data acquisition task sets in a defined periodcorresponding to the monitoring data acquisition frequency; then,monitoring data acquisition tasks in the corresponding to-be-executedmonitoring data acquisition task sets are executed in successive definedperiods; and acquired monitoring data of the monitored objects is parsedto generate a monitoring result, thereby implementing acquisition ofdifferent monitoring data based on different monitoring data acquisitionfrequencies without causing any additional load, and solving the problemof high system resource occupation and waste of system resources duringthe monitoring process.

BRIEF DESCRIPTION OF THE DRAWINGS

Other features, objectives and advantages of the present applicationwill become more apparent upon reading the detailed description tonon-limiting embodiments with reference to the accompanying drawings,wherein:

FIG. 1 is an architectural diagram of an exemplary system in which thepresent application may be implemented;

FIG. 2 is a flow chart of a monitoring method according to an embodimentof the present application;

FIG. 3 is an exploded flow chart of task processing steps in the flowchart of FIG. 2;

FIG. 4 is a schematic structural diagram of a time wheel involved in thepresent application;

FIG. 5 is a schematic diagram of an application scenario of a monitoringmethod according to the present application;

FIG. 6 is a flow chart of a monitoring method according to anotherembodiment of the present application;

FIG. 7 is a schematic structural diagram of a monitoring apparatusaccording to an embodiment of the present application; and

FIG. 8 is a schematic structural diagram of a computer system adapted toimplement a monitoring terminal of the embodiment of the presentapplication.

DETAILED DESCRIPTION OF EMBODIMENTS

The present application will be further described below in detail incombination with the accompanying drawings and the embodiments. Itshould be appreciated that the specific embodiments described herein aremerely used for explaining the relevant invention, rather than limitingthe invention. In addition, it should be noted that, for the ease ofdescription, only the parts related to the relevant invention are shownin the accompanying drawings.

It should also be noted that the embodiments in the present applicationand the features in the embodiments may be combined with each other on anon-conflict basis. The present application will be described below indetail with reference to the accompanying drawings and in combinationwith the embodiments.

FIG. 1 shows an exemplary system architecture 100 in which a monitoringmethod or a monitoring apparatus of the present application may beimplemented.

As shown in FIG. 1, the system architecture 100 may comprise monitoredobjects 101, 102 and 103, a network 104, and a monitoring terminal 105.The network 104 servers as a medium providing a communication linkbetween the monitored objects 101, 102 and 103 and the monitoringterminal 105. The network 104 may comprise various types of connections,such as wired and wireless transmission links, or optical fibers.

The monitored objects 101, 102 and 103 may be various electronicdevices. As an example, in an unmanned vehicle architecture or aself-driving vehicle architecture, the monitored objects 101, 102 and103 may be sensors for different purposes, such as a sensor for a brakesystem, a sensor for a power system, a sensor for a starting system, asensor for a lane departure detection system, a sensor for an adaptivecruise control system, a sensor for an automatic parking system, and asensor for a satellite navigation system. Moreover, the monitoredobjects 101, 102 and 103 may be various program nodes. As an example,the above-mentioned program nodes may be various modules in an unmannedvehicle control system, such as a sensor control module, a sensingmodule, a positioning module, an obstacle detection module, and adecision control module. The above-mentioned program nodes may also besub-modules in the modules, such as a temperature sensor controlsub-module and a pressure sensor control sub-module in the sensorcontrol module.

To-be-monitored data of the monitored objects 101, 102 and 103 maycomprise one or more items. As an example, in the unmanned vehiclearchitecture or self-driving vehicle architecture, the to-be-monitoreddata of a monitored object LIDAR may be data collected by the LIDAR, adata scanning frequency of the LIDAR, and the like. The monitoredobjects 101, 102 and 103 may interact with the monitoring terminal 105via the network 104, to receive or send messages, transmit monitoringdata of each monitored object, and the like.

The monitoring terminal 105 may be various electronic devices providedwith a data processing function, for example, a monitoring server thatsupports monitoring data sent by the monitored objects 101, 102 and 103.In the unmanned vehicle or self-driving vehicle architecture, themonitoring terminal 105 may also be a vehicle-mounted terminal device.The vehicle-mounted terminal device may parse acquired monitoring dataof monitored objects in a sensor or program node, to generate amonitoring result.

It should be noted that, the monitoring method provided by theembodiments of the present application is generally executed by themonitoring terminal 105, and accordingly, the monitoring apparatus isgenerally installed in the monitoring terminal 105.

It should be understood that the numbers of the terminal devices, thenetworks and the servers in FIG. 1 are merely illustrative. Any numberof monitored objects, networks and monitoring terminals may be providedbased on the actual requirements.

Further referring to FIG. 2, a flow 200 of a monitoring method accordingto an embodiment of the present application is shown. The monitoringmethod comprises the following steps:

Step 201, read information about monitoring data acquisition methods ofmonitored objects.

In this embodiment, an electronic device (for example, the monitoringterminal 105 shown in FIG. 1) on which the monitoring method runs mayread information about monitoring data acquisition methods of variousmonitored objects (for example, the monitored objects 101, 102 and 103)from a configuration file pre-configured in the electronic device,wherein the monitoring data acquisition method may be an activeacquisition method or a passive acquisition method. Moreover, theelectronic device may acquire, through a wired or wireless communicationlink or a fiber-optic cable, the information about the monitoring dataacquisition methods of the monitored objects from a server connected tothe electronic device. It should be noted that, the active acquisitionmethod may be a method of pooling the monitored objects to acquiremonitoring data, and the passive acquisition method may be a method ofacquiring monitoring data based on an event detecting mechanism, aheartbeat mechanism, and the like.

It should be noted that, the electronic device may read the informationabout the monitoring data acquisition method of each monitored object inany condition. For example, the electronic device may read theinformation about the monitoring data acquisition method of eachmonitored object upon starting, receiving a particular signal, ordetecting a particular environment condition.

By using a self-driving vehicle architecture as an example, generally, auser starts the vehicle, and then a vehicle-mounted terminal device,upon receiving a vehicle start signal, first loads a pre-configuredconfiguration file, and then reads the information about monitoring dataacquisition methods of the monitored objects in the configuration file.In this embodiment, the configuration file may be in various formats,for example, ini format, dat format, xml format, and yaml format. Inaddition, when it is detected that the unmanned vehicle is in a severeenvironment such as in the rain or haze, the electronic device mayfurther read, from another pre-configured file, information about amonitoring data acquisition method of an additional monitored object inthe file.

Step 202, for each monitored object having the active acquisition methodas the monitoring data acquisition method, execute the following steps:generating a monitoring data acquisition task of the monitored object;determining a monitoring data acquisition frequency of the monitoredobject; and adding the monitoring data acquisition task toto-be-executed monitoring data acquisition task sets in a defined periodcorresponding to the monitoring data acquisition frequency.

In this embodiment, further referring to FIG. 3, FIG. 3 is an explodedflow chart of step 202. In FIG. 3, for each monitored object having theactive acquisition method as the monitoring data acquisition, step 202is split into the following three sub-steps, that is, step 2021, step2022 and step 2023.

Step 2021, generate a monitoring data acquisition task of the monitoredobject.

In this embodiment, for each monitored object having the activeacquisition method as the monitoring data acquisition method, theelectronic device may generate the monitoring data acquisition task ofthe monitored object. It should be noted that, the monitoring data ofthe monitored object may comprise one or more items. Therefore, themonitoring data acquisition task of the monitored object may be one ormore tasks corresponding to the one or more items of monitoring data.

Step 2022, determine a monitoring data acquisition frequency of themonitored object.

In this embodiment, for each monitored object having the activeacquisition method as the monitoring data acquisition method, theabove-mentioned electronic device may read preset information about amonitoring data acquisition frequency of the monitored object, therebydetermining the monitoring data acquisition frequency of the monitoredobject, wherein the monitoring data acquisition frequency is the numberof times the corresponding monitoring data is acquired periodicallywithin any period, for example, one acquisition per 200 ms, oneacquisition per 500 ms, and one acquisition per 6 seconds. It should bepointed out that, the monitoring data of the monitored object maycomprise one or more items, and therefore, the monitoring dataacquisition frequency of the monitored object may be one or morefrequencies corresponding to the one or more items of the monitoringdata.

In some optional implementations of this embodiment, the informationabout the monitoring data acquisition frequency of each monitored objecthaving the active acquisition method as the monitoring data acquisitionmethod may be pre-stored in the configuration file of theabove-mentioned electronic device. The above-mentioned electronic devicemay determine the monitoring data acquisition frequency of the monitoredobject by loading the configuration file. It should be noted that, theconfiguration file may be the configuration file storing the informationabout the monitoring data acquisition methods of the monitored objectsin step 201, and may also be another configuration file.

In some optional implementations of this embodiment, the informationabout the monitoring data acquisition frequency of each monitored objecthaving the active acquisition method as the monitoring data acquisitionmethod may be pre-stored in a server connected to the above-mentionedelectronic device. The above-mentioned electronic device may acquire theinformation about the monitoring data acquisition frequency from theserver through a wired or wireless communication link or a fiber-opticcable, and determine the monitoring data acquisition frequency of themonitored object.

Step 2023, add the monitoring data acquisition task to to-be-executedmonitoring data acquisition task sets in a defined period correspondingto the monitoring data acquisition frequency.

In this embodiment, the defined period may be any pre-configured fixedduration that is not longer than the minimum acquisition period inacquisition periods indicated by the monitoring data acquisitionfrequencies determined in step 2022. For example, if the monitoring dataacquisition frequencies are one acquisition per 200 ms, one acquisitionper 500 ms, and one acquisition per is respectively, i.e., theacquisition periods are 200 ms, 500 ms, and is respectively, theduration of each defined period may be any fixed duration that is notlonger than the minimum acquisition period 200 ms, for example, 100 msor 200 ms. Moreover, for each defined period of the preset multipledefined periods, to-be-executed monitoring data acquisition task sets inthe defined period may be preset, and the monitoring data acquisitiontask sets may be used for storing monitoring data acquisition tasks tobe executed in the defined period.

In some optional implementations of this embodiment, M defined periodsmay be preset, wherein M is a natural number greater than 0. For eachmonitored object having the active acquisition method as the monitoringdata acquisition method, a time wheel comprising the above-mentioned Mdefined periods may be set by using a time wheel timer algorithm, suchthat the above-mentioned electronic device cyclically executesmonitoring data acquisition tasks in the to-be-executed monitoring dataacquisition task sets in the individual defined periods. According to aratio N of the acquisition period to the defined period that isindicated by the monitoring data acquisition frequency of the monitoredobject determined in step 2022, the above-mentioned electronic devicemay add the monitoring data acquisition task of the monitored object toto-be-executed monitoring data acquisition task sets in the (1+n×N)^(th)defined period, wherein n is a natural number, and 1+n×N≦M.

As an example, a time wheel 401 shown in FIG. 4 has six defined periodsin total and a pointer 402, and each defined period is 100 ms. If themonitoring data acquisition frequency indicates that correspondingmonitoring data is acquired once every 200 ms, that is, the acquisitionperiod is 200 ms, it is determined that a ratio of the acquisitionperiod to the defined period is 2. The above-mentioned electronic deviceadds a monitoring data acquisition task 403 corresponding to themonitoring data acquisition frequency to the to-be-executed monitoringdata acquisition task sets in the 1^(st) period, the 3^(rd) period, andthe 5^(th) period. If another monitoring data acquisition frequencyindicates that corresponding monitoring data is acquired once every 300ms, that is, the acquisition period is 300 ms, the above-mentionedelectronic device may add a monitoring data acquisition task 404 of theabove-mentioned another monitored object to the to-be-executedmonitoring data acquisition task sets in the 1^(st) period and the4^(th) period.

It should be pointed out that, the time wheel may be a multi-level timewheel, which will not be described in detail herein.

In some optional implementations of this embodiment, an unlimited numberof defined periods may be preset. For each monitored object having theactive acquisition method as the monitoring data acquisition method,according to a ratio N of the acquisition period to the defined periodthat is indicated by the monitoring data acquisition frequency of themonitored object determined in step 2022, the above-mentioned electronicdevice may add the monitoring data acquisition task of the monitoredobject to the to-be-executed monitoring data acquisition task sets inthe (1+n×N)^(th) defined period, wherein n is a natural number.

As an example, each defined period is 100 ms, and if the monitoring dataacquisition frequency indicates that corresponding monitoring data isacquired once every 500 ms, that is, the acquisition period is 500 ms,the above-mentioned electronic device may add a monitoring dataacquisition task corresponding to the monitoring data acquisitionfrequency to the to-be-executed monitoring data acquisition task sets inthe 1^(st) period, the 6^(th) period, and the 11^(th) period, and therest may be done in the same way. If another monitoring data acquisitionfrequency indicates that corresponding monitoring data is acquired onceevery 200 ms, that is, the acquisition period is 200 ms, theabove-mentioned electronic device may add a monitoring data acquisitiontask of the above-mentioned another monitored object to theto-be-executed monitoring data acquisition task sets in the 1^(st)period, the 3^(rd) period, and the 5^(th) period, and the rest may bedone in the same way.

Step 203, execute, in successive defined periods, monitoring dataacquisition tasks in the corresponding to-be-executed monitoring dataacquisition task sets.

In this embodiment, the above-mentioned electronic device first maysearch for monitoring data acquisition tasks in the correspondingto-be-executed monitoring data acquisition task sets in successivedefined periods in various ways; and then, execute the found monitoringdata acquisition tasks, that is, acquire monitoring data of monitoredobjects corresponding to the found monitoring data acquisition tasks.

In some optional implementations of this embodiment, if the presetdefined periods are a fixed number of defined periods, the electronicdevice may search for monitoring data acquisition tasks by using thetime wheel timer algorithm. Specifically, the pointer of the time wheelpoints to a defined period at a defined time interval, and sequentiallypoints to the defined periods in the time wheel in a chronologicalorder. Each time the pointer of the time wheel points to a definedperiod, the above-mentioned electronic device searches for monitoringdata acquisition tasks from to-be-executed monitoring data acquisitiontask sets in the defined period to which the above-mentioned pointerpoints.

In some optional implementations of this embodiment, if the presetdefined periods are an unlimited number of defined periods, theabove-mentioned electronic device may search for monitoring dataacquisition tasks in the corresponding to-be-executed monitoring dataacquisition task sets in successive defined periods in a chronologicalorder.

In this embodiment, the electronic device may transmit the foundmonitoring data acquisition tasks to a pre-created monitoring dataacquisition task queue; extract monitoring data acquisition tasks fromthe monitoring data acquisition task queue in parallel by using multiplethreads, and execute the extracted monitoring data acquisition tasks.Specifically, the electronic device may acquire the monitoring data invarious data transmission ways, such as parallel transmission, serialtransmission, synchronous transmission, asynchronous transmission,simplex transmission, half-duplex transmission, and full-duplextransmission. By using a self-driving vehicle architecture as anexample, after finding monitoring data acquisition tasks, avehicle-mounted terminal device first sends data read instructions tovarious sensors connected to the vehicle-mounted terminal device orvarious program nodes in the self-driving vehicle, and acquiresmonitoring data of the sensors or program nodes in a paralleltransmission way, in response to that the sensors or program nodesreceive the instructions.

Step 204, parse acquired monitoring data of the monitored objects togenerate a monitoring result.

In this embodiment, the above-mentioned electronic device may firstparse the acquired monitoring data of the monitored objects, check themonitoring data by using pre-configured checking information to generatemonitoring sub-results of the monitored objects, and then, generate themonitoring result according to different preset rules.

In some optional implementations of this embodiment, the above-mentionedelectronic device may first parse the acquired monitoring data of themonitored objects to generate monitoring sub-results of the monitoredobjects; and in response to any one of the monitoring sub-resultsindicating that the monitoring data is abnormal, generate a monitoringresult about the abnormal monitoring data. For example, after acquiringa current signal that is sent by a fuel level sensor and used forindicating a fuel amount, the vehicle-mounted terminal device generatesfuel amount information according to a current magnitude indicated bythe current signal; then compares the fuel amount information with apreset fuel amount threshold in the vehicle-mounted terminal device; anddetermines that the fuel amount of the self-driving vehicle isinsufficient if the fuel amount information is below the preset fuelamount threshold, and sends alarm information about the insufficientfuel amount.

In some optional implementations of this embodiment, the above-mentionedelectronic device may first parse the acquired monitoring data of themonitored objects to generate monitoring sub-results of the monitoredobjects; and then analyze the monitoring sub-results to generate themonitoring result. As an example, when monitored objects of theself-driving vehicle are multiple LIDARs, after acquiring monitoringdata that indicates the working frequencies of the LIDARs, thevehicle-mounted terminal device compares the working frequency of acorresponding LIDAR indicated by each piece of monitoring data with aworking frequency threshold of the LIDAR, and generates a monitoringsub-result indicating that the LIDAR is abnormal if the workingfrequency of the LIDAR is below the above-mentioned working frequencythreshold. Then, the above-mentioned vehicle-mounted terminal devicedetermines the number of LIDARs that are abnormal; determines, inresponse to that the above-mentioned number is above a preset thresholdof the number of abnormal LIDARs, that the LIDARs of the self-drivingvehicle work abnormally; generates a monitoring result indicating thatthe self-driving vehicle works abnormally; and sends alarm informationabout an abnormal self-driving mode or sends a parking instruction to acontrol system.

Continue to refer to FIG. 5. FIG. 5 is a schematic diagram 500 of anapplication scenario of a monitoring method according to thisembodiment. In the application scenario of FIG. 5, when a self-drivingvehicle 501 is started, a vehicle-mounted terminal device 502 firstloads a pre-configured configuration file 503, and reads from theconfiguration file 503 information about monitoring data acquisitionmethods of monitored objects. Then, for LIDARs 504 and 505 having anactive acquisition method as the monitoring data acquisition method, thevehicle-mounted terminal device 502 generates monitoring dataacquisition tasks of the LIDARs 504 and 505 respectively, readsmonitoring data acquisition frequencies of the LIDARs 504 and 505 fromthe configuration file 503, and adds the above-mentioned monitoring dataacquisition tasks to to-be-executed monitoring data acquisition tasksets in defined periods corresponding to the above-mentioned monitoringdata acquisition frequencies. Then, the vehicle-mounted terminal device502 executes the monitoring data acquisition tasks in the correspondingto-be-executed monitoring data acquisition task sets in successivedefined periods, to obtain working frequency data of the LIDARs 504 and505. Finally, the acquired working frequency data of the LIDARs 504 and505 is parsed, and in response to that the working frequency data of theLIDAR 504 and the working frequency data of the LIDAR 505 are both belowa working frequency threshold, alarm information indicating that aself-driving mode is abnormal is displayed on an instrument board 506.

The method provided in the embodiments of the present applicationmonitors different monitored objects based on different monitoringfrequencies, thereby solving the problem of high system resourceoccupation and waste of system resources during the monitoring process.

Further refer to FIG. 6, which shows a flow 600 of another embodiment ofa monitoring method. The flow 600 of the monitoring method comprises thefollowing steps:

Step 601, read information about monitoring data acquisition methods ofmonitored objects.

In this embodiment, an electronic device (for example, the monitoringterminal 105 shown in FIG. 1) on which the monitoring method runs mayread information about monitoring data acquisition methods of variousmonitored objects (for example, the monitored objects 101, 102 and 103)from a configuration file pre-configured in the above-mentionedelectronic device, wherein the monitoring data acquisition method may bean active acquisition method or a passive acquisition method.

In this embodiment, for each monitored object having the activeacquisition method as the monitoring data acquisition method, theabove-mentioned electronic device may execute steps 602 and 603; and foreach monitored object having the passive acquisition method as themonitoring data acquisition method, the electronic device may executestep 604.

Step 602, for each monitored object having the active acquisition methodas the monitoring data acquisition method, the following steps areexecuted: generating a monitoring data acquisition task of the monitoredobject; determining a monitoring data acquisition frequency of themonitored object; and adding the monitoring data acquisition task toto-be-executed monitoring data acquisition task sets in a defined periodcorresponding to the monitoring data acquisition frequency.

In this embodiment, for each monitored object having the activeacquisition method as the monitoring data acquisition method, theabove-mentioned electronic device may generate a monitoring dataacquisition task of the monitored object. It should be noted that, themonitoring data of the monitored object may comprise one or more items,and therefore, the monitoring data acquisition task of the monitoredobject may be one or more tasks corresponding to the one or more itemsof the monitoring data.

In this embodiment, for each monitored object having the activeacquisition method as the monitoring data acquisition method, theabove-mentioned electronic device may read preset information about amonitoring data acquisition frequency of the monitored object, therebydetermining the monitoring data acquisition frequency of the monitoredobject. It should be pointed out that, the monitoring data of themonitored object may comprise one or more items, and therefore, themonitoring data acquisition frequency of the monitored object may be oneor more frequencies corresponding to the above-mentioned one or moreitems of the monitoring data.

In this embodiment, M defined periods may be preset, wherein M is anatural number greater than 0. The defined period may be anypre-configured fixed duration that is not longer than the minimumacquisition period in acquisition periods indicated by the monitoringdata acquisition frequencies. Moreover, for each defined period of theabove-mentioned preset multiple defined periods, to-be-executedmonitoring data acquisition task sets in the defined period may bepreset, and the monitoring data acquisition task sets may be used forstoring at least one monitoring data acquisition task to be executed inthe defined period. For each monitored object having the activeacquisition method as the monitoring data acquisition method, theelectronic device may set, by using a time wheel timer algorithm, a timewheel comprising the M defined periods, such that the electronic devicecircularly executes monitoring data acquisition tasks in theto-be-executed monitoring data acquisition task sets in the definedperiods. According to a ratio N of the acquisition period to the definedperiod that is indicated by the monitoring data acquisition frequency ofthe monitored object, the above-mentioned electronic device may add themonitoring data acquisition task of the monitored object toto-be-executed monitoring data acquisition task sets in the (1+n×N)^(th)defined period, wherein n is a natural number, and 1+n×N≦M.

Step 603, execute, in successive defined periods, monitoring dataacquisition tasks in the corresponding to-be-executed monitoring dataacquisition task sets.

In this embodiment, the electronic device first may search formonitoring data acquisition tasks in the corresponding to-be-executedmonitoring data acquisition task sets in successive defined periods invarious methods; and then, execute the found monitoring data acquisitiontasks, that is, acquire monitoring data of monitored objectscorresponding to the found monitoring data acquisition tasks.

Concrete operations of step 601 to step 603 are substantially the sameas the specific operations of step 201 to step 203, and will not berepeated herein.

In this embodiment, after reading the information about the monitoringdata acquisition methods of the monitored objects, the electronic devicemay further execute step 604:

Step 604: for each monitored object having the passive acquisitionmethod as the monitoring data acquisition method, detect a monitoringdata transmission request of the monitored object; and acquiremonitoring data of the monitored object in response to positivelydetecting the monitoring data transmission request of the monitoredobject.

In this embodiment, for each monitored object having the passiveacquisition method as the monitoring data acquisition method, theabove-mentioned electronic device may detect, via its own socket, thedata transmission request sent by the socket of the monitored object,wherein the data transmission request comprises to-be-transmittedmonitoring data; in response to positively detecting the datatransmission request sent by the socket of the to-be-monitored object,the above-mentioned electronic device first establishes, via its ownsocket, a connection to the socket of the monitored object, and thenacquires the to-be-transmitted monitoring data.

It should be noted that, the detecting method is a well-known technologywidely researched and applied at present, and will not be described indetail herein.

Step 605, parse acquired monitoring data of each monitored object in themonitored objects, to generate a monitoring sub-result.

In this embodiment, the above-mentioned electronic device may parse, byusing various parsing measures, monitoring data of each monitored objectacquired in step 603 and/or step 604, to generate a monitoringsub-result of the monitored object. The parsing method may be conductinga numerical check on the monitoring data of the monitored object, andthe monitoring sub-result of the monitored object is generated bychecking whether a numerical value of the monitoring data is in a presetthreshold range or determining whether a numerical value of themonitoring data is a preset numerical value. In addition, when themonitored object is a sensor, the electronic device may also firstconduct a data conversion on the acquired monitoring data of the sensor,and then conduct numerical analysis on the converted data to generate amonitoring sub-result of the sensor. As an example, a vehicle watertemperature sensor is a semiconductor thermistor, which has a greaterresistance at a lower water temperature. The vehicle-mounted terminaldevice may first convert resistance value data sent by the vehicle watertemperature sensor into water temperature data, and then conduct anumerical check on the water temperature data, thereby determiningwhether the water temperature is abnormal.

In some optional implementations of this embodiment, for a presetmonitored object in the monitored objects, in response to a monitoringsub-result of the preset monitored object indicating that the monitoringdata of the preset monitored object is abnormal, the above-mentionedelectronic device may further store the abnormal monitoring data into alog file of the preset monitored object, such that the electronic deviceconducts a failure detection on abnormal data in the log file or anoperator conducts a failure analysis. The above-mentioned presetmonitored object may be at least one monitored object in the monitoredobjects.

In some optional implementations of this embodiment, the above-mentionedelectronic device may further pre-store multiple independent dataprocessing code blocks and data processing code block call informationof the monitored objects, wherein the data processing code block callinformation of each monitored object is used for indicating dataprocessing code blocks that need to be called when processing themonitoring data of the monitored object, and a calling sequence. Theabove-mentioned multiple data processing code blocks may comprise, butnot limited to, at least one of the following: a frequency detectioncode block, a temperature detection code block, a pressure detectioncode block, a log file analysis code block, and a data storage codeblock. For each monitored object, the above-mentioned electronic devicemay call, based on the preset data processing code block callinformation corresponding to the monitored object, the data processingcode blocks corresponding to the monitored object sequentially in thecalling sequence indicated by the data processing code block callinformation, to process the monitoring data of the monitored object,thereby generating the monitoring data processing result of themonitored object.

Step 606, group the monitored objects according to a preset groupingmethod, and analyze monitoring sub-results of each group of monitoredobjects, to generate a group monitoring result of the group.

In this embodiment, the electronic device may group the monitoredobjects according to various preset grouping methods, conduct analysessuch as statistics and numerical comparison on monitoring sub-results ofeach group of monitored objects, to generate the group monitoring resultof the group.

In some optional implementations of this embodiment, the above-mentionedgrouping method may be grouping based on functions of the monitoredobjects. As an example, the monitored objects of the self-drivingvehicle are multiple LIDARs and multiple temperature sensors, and inthis case, the monitored objects of the self-driving vehicle may begrouped into a LIDAR group and a temperature sensor group based onfunctions of the monitored objects. After monitoring sub-results of theLIDARs and the temperature sensors are generated, the vehicle-mountedterminal device determines the number of abnormal LIDARs and the numberof abnormal temperature sensors; in response to that the number ofabnormal LIDARs is above a preset threshold of the number of abnormalLIDARs and that the number of abnormal temperature sensors is below apreset threshold of the number of abnormal temperature sensors, it isdetermined that the LIDAR group of the self-driving vehicle worksabnormally and the temperature sensor group of the self-driving vehicleworks normally.

In some optional implementations of this embodiment, the above-mentionedgrouping method may be grouping based on modules to which the monitoredobjects belong. As an example, the monitored objects of the self-drivingvehicle are program nodes. Then, the monitored objects may be groupedinto a sensor control group, a sensing group, a positioning group, anobstacle detection group, a decision control group and the like based onmodules to which the program nodes belong. The vehicle-mounted terminaldevice analyzes monitoring data of the program nodes of each group, togenerate group monitoring results of the groups.

Step 607, analyze group monitoring results to generate a monitoringresult.

In this embodiment, the above-mentioned electronic device may analyzegroup monitoring results generated in step 606, to generate themonitoring result. For example, in response to that the LIDAR group ofthe self-driving vehicle works abnormally and the temperature sensorgroup of the self-driving vehicle works normally, the electronic vehiclemay determine that the self-driving vehicle does not have a travelingability in a self-driving mode; and in response to that the LIDAR groupand the temperature sensor group of the self-driving vehicle both workabnormally, the electronic vehicle may determine that the self-drivingvehicle does not have a traveling ability.

Step 608, output the monitoring result at a preset output time interval.

In this embodiment, the above-mentioned electronic device may output themonitoring result at the preset output time interval, wherein the timeinterval may be any duration. Specifically, the above-mentionedelectronic device may output the monitoring result regularly by using aninstalled timer. The above-mentioned monitoring result may be promptinformation describing whether a system works normally. When themonitoring result indicates that the system is abnormal, theabove-mentioned monitoring result may further be alarm information, anoperating instruction or the like. For example, when it is determinedthat the self-driving vehicle does not have the traveling ability in theself-driving mode, the above-mentioned electronic device sends an alarmor directly sends a parking instruction.

It can be seen from FIG. 6 that, compared with the embodimentcorresponding to FIG. 2, the flow 600 of the monitoring method in thisembodiment emphasizes the step of acquiring monitoring data for eachmonitored object having the passive acquisition method as the monitoringdata acquisition method and the step of generating the monitoring resultbased on levels. Therefore, the solution described in this embodimentmay acquire more monitoring data and further refine the process ofgenerating the monitoring result, thereby implementing morecomprehensive monitoring and generating of a more effective monitoringresult.

Further referring to FIG. 7, as an implementation of the methods shownin the above drawings, the present application provides an embodimentfor a monitoring apparatus. The apparatus embodiment corresponds to themethod embodiment shown in FIG. 2. The apparatus may be specificallyapplied to various electronic devices.

As shown in FIG. 7, the monitoring apparatus 700 described in thisembodiment comprises: a reading unit 701, a task processing unit 702, anexecution unit 703, and a parsing unit 704. The reading unit 701 isconfigured to read information about monitoring data acquisition methodsof monitored objects, wherein the monitoring data acquisition method isan active acquisition method or a passive acquisition method. The taskprocessing unit 702 is configured to: execute the following steps foreach monitored object having the active acquisition method as themonitoring data acquisition method: generating a monitoring dataacquisition task of the monitored object; determining a monitoring dataacquisition frequency of the monitored object; and adding the monitoringdata acquisition task to to-be-executed monitoring data acquisition tasksets in a defined period corresponding to the monitoring dataacquisition frequency. The execution unit 703 is configured to executemonitoring data acquisition tasks in the corresponding to-be-executedmonitoring data acquisition task sets in successive defined periods. Theparsing unit 704 is configured to parse acquired monitoring data of themonitored objects to generate a monitoring result.

In this embodiment, the reading unit 701 of the monitoring apparatus 700may read the information about the monitoring data acquisition methodsof the monitored objects from a pre-configured configuration file,wherein the monitoring data acquisition method may be an activeacquisition method or a passive acquisition method. Moreover, theelectronic device may acquire, through a wired or wireless communicationlink or a fiber-optic cable, the information about the monitoring dataacquisition methods of the monitored objects from a server connected tothe electronic device.

In this embodiment, for each monitored object having the activeacquisition method as the monitoring data acquisition method, the taskprocessing unit 702 may generate a monitoring data acquisition task ofthe monitored object. It should be noted that, the monitoring data ofthe monitored object may comprise one or more items, and therefore, themonitoring data acquisition task of the monitored object may be one ormore tasks corresponding to the above-mentioned one or more items of themonitoring data.

In this embodiment, for each monitored object having the activeacquisition method as the monitoring data acquisition method, theabove-mentioned task processing unit 702 may read preset informationabout a monitoring data acquisition frequency of the monitored object,thereby determining the monitoring data acquisition frequency of themonitored data, wherein the monitoring data acquisition frequency is thenumber of times the corresponding monitoring data is acquiredperiodically in any period. It should be pointed out that, themonitoring data of the monitored object may comprise one or more items,and therefore, the monitoring data acquisition frequency of themonitored object may be one or more frequencies corresponding to theabove-mentioned one or more items of the monitoring data.

In this embodiment, the task processing unit 702 may preset multipledefined periods, wherein the above-mentioned defined periods may be anypre-configured fixed duration that is not longer than the minimumacquisition period in acquisition periods indicated by the monitoringdata acquisition frequencies. Moreover, for each defined period of theabove-mentioned preset multiple defined periods, monitoring dataacquisition task sets to be executed in the defined period may bepreset, and the monitoring data acquisition task sets may be used forstoring at least one monitoring data acquisition task to be executed inthe defined period. The above-mentioned task processing unit 702 mayadd, by using a time wheel timer algorithm, the above-mentionedmonitoring data acquisition task to to-be-executed monitoring dataacquisition task sets in a defined period corresponding to theabove-mentioned monitoring data acquisition frequency.

In this embodiment, the above-mentioned execution unit 703 may searchfor monitoring data acquisition tasks in the correspondingto-be-executed monitoring data acquisition task sets in successivedefined periods by using various algorithms such as the time wheel timeralgorithm; transmit the found monitoring data acquisition tasks to apre-created monitoring data acquisition task queue; and finally extractmonitoring data acquisition tasks from the above-mentioned monitoringdata acquisition task queue in parallel by using multiple threads, andexecute the extracted monitoring data acquisition tasks.

In some optional implementations of this embodiment, the above-mentionedmonitoring apparatus 700 may further comprise a detecting unit,configured to: for each monitored object having the passive acquisitionmethod as the monitoring data acquisition method, detect a monitoringdata transmission request of the monitored object; and acquiremonitoring data of the monitored object in response to positivelydetecting the monitoring data transmission request of the monitoredobject.

In this embodiment, the above-mentioned parsing unit 704 may first parsethe acquired monitoring data of the monitored objects, check themonitoring data by using pre-configured checking information to generatemonitoring sub-results of the monitored objects, and then, generate themonitoring result according to different preset rules.

In some optional implementations of this embodiment, the above-mentionedparsing unit 704 may comprise: a parsing module, configured to parseacquired monitoring data of each monitored object in the monitoredobjects, to generate a monitoring sub-result; a first analyzing module,configured to group the monitored objects according to a preset groupingmethod, and analyze monitoring sub-results of each group of monitoredobjects, to generate a group monitoring result of the group; and asecond analyzing module, configured to analyze group monitoring resultsto generate the monitoring result.

In some optional implementations of this embodiment, the above-mentionedparsing module is further configured to: for a preset monitored objectin the monitored objects, in response to a monitoring sub-result of thepreset monitored object indicating that monitoring data of the presetmonitored object is abnormal, store the abnormal monitoring data into alog file of the preset monitored object.

In some optional implementations of this embodiment, the above-mentionedmonitoring apparatus 700 further comprises: an outputting unit,configured to output the monitoring result at a preset output timeinterval.

In the monitoring apparatus provided by the foregoing embodiment of thepresent application, first, the reading unit 701 reads information aboutmonitoring data acquisition methods of monitored objects; then, for eachmonitored object having an active acquisition method as the monitoringdata acquisition method, the task processing unit 702 adds, bygenerating a monitoring data acquisition task of the monitored objectand determining a monitoring data acquisition frequency of the monitoredobject, the monitoring data acquisition task to to-be-executedmonitoring data acquisition task sets in a defined period correspondingto the monitoring data acquisition frequency; then, the execution unit703 executes monitoring data acquisition tasks in the correspondingto-be-executed monitoring data acquisition task sets in successivedefined periods; and finally, the parsing unit 704 parses acquiredmonitoring data of the monitored objects to generate a monitoringresult, thereby implementing acquisition of different monitoring dataaccording to different monitoring data acquisition frequencies, andsolving the problems of high system resource occupation and waste ofsystem resources in the monitoring process.

Referring to FIG. 8, a schematic structural diagram of a computer system800 adapted to implement a monitoring appratus of the embodiments of thepresent application is shown.

As shown in FIG. 8, the computer system 800 includes a centralprocessing unit (CPU) 801, which may execute various appropriate actionsand processes in accordance with a program stored in a read-only memory(ROM) 802 or a program loaded into a random access memory (RAM) 803 froma storage portion 808. The RAM 803 also stores various programs and datarequired by operations of the system 800. The CPU 801, the ROM 802 andthe RAM 803 are connected to each other through a bus 804. Aninput/output (I/O) interface 805 is also connected to the bus 804.

The following components are connected to the I/O interface 805: aninput portion 806 including a keyboard, a mouse etc.; an output portion807 comprising a cathode ray tube (CRT), a liquid crystal display device(LCD), a speaker etc.; a storage portion 808 including a hard disk andthe like; and a communication portion 809 comprising a network interfacecard, such as a LAN card and a modem. The communication portion 809performs communication processes via a network, such as the Internet. Adriver 810 is also connected to the I/O interface 805 as required. Aremovable medium 811, such as a magnetic disk, an optical disk, amagneto-optical disk, and a semiconductor memory, may be installed onthe driver 810, to facilitate the retrieval of a computer program fromthe removable medium 811, and the installation thereof on the storageportion 808 as needed.

In particular, according to an embodiment of the present disclosure, theprocess described above with reference to the flow charts may beimplemented in a computer software program. For example, an embodimentof the present disclosure includes a computer program product, whichcomprises a computer program that is tangibly embedded in amachine-readable medium. The computer program comprises program codesfor executing the method of the flow charts. In such an embodiment, thecomputer program may be downloaded and installed from a network via thecommunication portion 809, and/or may be installed from the removablemedia 811.

The flow charts and block diagrams in the figures illustratearchitectures, functions and operations that may be implementedaccording to the system, the method and the computer program product ofthe various embodiments of the present invention. In this regard, eachblock in the flowcharts and block diagrams may represent a module, aprogram segment, or a code portion. The module, the program segment, orthe code portion comprises one or more executable instructions forimplementing the specified logical function. It should be noted that, insome alternative implementations, the functions denoted by the blocksmay occur in a sequence different from the sequences shown in thefigures. For example, in practice, two blocks in succession may beexecuted, depending on the involved functionalities, substantially inparallel, or in a reverse sequence. It should also be noted that, eachblock in the block diagrams and/or the flow charts and/or a combinationof the blocks may be implemented by a dedicated hardware-based systemexecuting specific functions or operations, or by a combination of adedicated hardware and computer instructions.

The units or modules involved in the embodiments of the presentapplication may be implemented by way of software or hardware. Thedescribed units or modules may also be provided in a processor, forexample, described as: a processor, comprising a reading unit, a taskprocessing unit, an executing unit and a parsing unit, where the namesof these units or modules are not considered as a limitation to theunits or modules. For example, the reading unit may also be described as“a unit for reading information about monitoring data acquisitionmethods of monitored objects”.

In another aspect, the present application further provides anon-volatile computer readable storage medium. The non-volatile computerreadable storage medium may be the non-volatile computer readablestorage medium included in the apparatus in the above embodiments, or astand-alone computer readable storage medium which has not beenassembled into the apparatus. The non-volatile computer readable storagemedium stores one or more programs. The one or more programs, whenexecuted by a device, cause the device to: read information aboutmonitoring data acquisition methods of monitored objects, the monitoringdata acquisition method comprising an active acquisition method and apassive acquisition method;

execute following steps for each of the monitored objects having theactive acquisition method as the monitoring data acquisition method:generating a monitoring data acquisition task of the monitored object;determine a monitoring data acquisition frequency of the monitoredobject; and add the monitoring data acquisition task to to-be-executedmonitoring data acquisition task sets in a defined period correspondingto the monitoring data acquisition frequency; execute, in successivedefined periods, monitoring data acquisition tasks in the correspondingto-be-executed monitoring data acquisition task sets; and parsE acquiredmonitoring data of the monitored objects to generate a monitoringresult.

The foregoing is only a description of the preferred embodiments of thepresent application and the applied technical principles. It should beappreciated by those skilled in the art that the inventive scope of thepresent application is not limited to the technical solutions formed bythe particular combinations of the above technical features. Theinventive scope should also cover other technical solutions formed byany combinations of the above technical features or equivalent featuresthereof without departing from the concept of the invention, such as,technical solutions formed by replacing the features as disclosed in thepresent application with (but not limited to), technical features withsimilar functions.

What is claimed is:
 1. A monitoring method, comprising: readinginformation about monitoring data acquisition methods of monitoredobjects, the monitoring data acquisition method comprising an activeacquisition method and a passive acquisition method; executing followingsteps for each of the monitored objects having the active acquisitionmethod as the monitoring data acquisition method: generating amonitoring data acquisition task of the monitored object; determining amonitoring data acquisition frequency of the monitored object; andadding the monitoring data acquisition task to to-be-executed monitoringdata acquisition task sets in a defined period corresponding to themonitoring data acquisition frequency; executing, in successive definedperiods, monitoring data acquisition tasks in the correspondingto-be-executed monitoring data acquisition task sets; and parsingacquired monitoring data of the monitored objects to generate amonitoring result.
 2. The monitoring method according to claim 1,further comprising: for each of the monitored objects having the passiveacquisition method as the monitoring data acquisition method, detectinga monitoring data transmission request of the monitored object; andacquiring monitoring data of the monitored object in response topositively detecting the monitoring data transmission request of themonitored object.
 3. The monitoring method according to claim 1, whereinthe parsing acquired monitoring data of the monitored objects togenerate a monitoring result comprises: parsing acquired monitoring dataof each of the monitored objects, to generate a monitoring sub-result ofthe monitored object; grouping the monitored objects according to apreset grouping method; analyzing monitoring sub-results of each groupof monitored objects, to generate a group monitoring result of thegroup; and analyzing group monitoring results to generate the monitoringresult.
 4. The monitoring method according to claim 3, wherein theparsing acquired monitoring data of the monitored objects to generate amonitoring result further comprises: for a preset monitored object inthe monitored objects, in response to a monitoring sub-result of thepreset monitored object indicating that monitoring data of the presetmonitored object is abnormal, storing the abnormal monitoring data intoa log file of the preset monitored object.
 5. The monitoring methodaccording to claim 1, further comprising: outputting the monitoringresult at a preset output time interval.
 6. A monitoring apparatus,comprising: a reading unit, configured to read information aboutmonitoring data acquisition methods of monitored objects, the monitoringdata acquisition method comprising an active acquisition method and apassive acquisition method; a task processing unit, configured toexecute following steps for each of the monitored objects having theactive acquisition method as the monitoring data acquisition method:generating a monitoring data acquisition task of the monitored object;determining a monitoring data acquisition frequency of the monitoredobject; and adding the monitoring data acquisition task toto-be-monitored monitoring data acquisition task sets in a definedperiod corresponding to the monitoring data acquisition frequency; anexecution unit, configured to execute, in successive defined periods,monitoring data acquisition tasks in the corresponding to-be-executedmonitoring data acquisition task sets; and a parsing unit, configured toparse acquired monitoring data of the monitored objects to generate amonitoring result.
 7. The monitoring apparatus according to claim 6,further comprising: a detecting unit, configured to: for each of themonitored objects having the passive acquisition method as themonitoring data acquisition method, detect a monitoring datatransmission request of the monitored object; and acquire monitoringdata of the monitored object in response to positively detecting themonitoring data transmission request of the monitored object.
 8. Themonitoring apparatus according to claim 6, wherein the parsing unitcomprises: a parsing module, configured to parse acquired monitoringdata of each of the monitored objects, to generate a monitoringsub-result of the monitored object; a first analyzing module, configuredto group the monitored objects according to a preset grouping method,and analyze monitoring sub-results of each group of monitored objects,to generate a group monitoring result of the group; and a secondanalyzing module, configured to analyze group monitoring results togenerate the monitoring result.
 9. The monitoring apparatus according toclaim 8, wherein the parsing module is further configured to: for apreset monitored object in the monitored objects, in response to amonitoring sub-result of the preset monitored object indicating thatmonitoring data of the preset monitored object is abnormal, store theabnormal monitoring data into a log file of the preset monitored object.10. The monitoring apparatus according to claim 6, further comprising:an outputting unit, configured to output the monitoring result at apreset output time interval.
 11. A non-transitory storage medium storingone or more programs, the one or more programs when executed by adevice, causing the device to perform a monitoring method, themonitoring method comprising: reading information about monitoring dataacquisition methods of monitored objects, the monitoring dataacquisition method comprising an active acquisition method and a passiveacquisition method; executing following steps for each of the monitoredobjects having the active acquisition method as the monitoring dataacquisition method: generating a monitoring data acquisition task of themonitored object; determining a monitoring data acquisition frequency ofthe monitored object; and adding the monitoring data acquisition task toto-be-executed monitoring data acquisition task sets in a defined periodcorresponding to the monitoring data acquisition frequency; executing,in successive defined periods, monitoring data acquisition tasks in thecorresponding to-be-executed monitoring data acquisition task sets; andparsing acquired monitoring data of the monitored objects to generate amonitoring result.